export default {
  search: [
    { op: 'like', name: 'bill_no', type: 'input', field: 'm.bill_no', label: '销售单号', default: '', hide: false },
    { op: 'eq', dict: 'saleType', name: 'type', type: 'select', field: 'm.type', label: '销售单类型', default: '', hide: false },
    { op: 'eq', dict: 'customer', name: 'customer_uid', type: 'select', field: 'm.customer_uid', label: '客户', default: '', uuid: true, hide: false },
    { op: '_fn_', name: 'consumer_name', type: 'input', field: 'n.nickname', label: '消费者', default: '', hide: false },
    { op: '_fn_', dict: 'material', name: 'material_uid', type: 'select', field: 'd.material_uid', label: '货物', default: '', hide: false },
    { op: 'like', dict: 'user', name: 'create_user_name', type: 'autocomplete', field: 'm.create_user_name', label: '创建人', default: '', hide: true },
    { op: 'between', name: 'create_time', type: 'date', field: 'm.create_time', label: '创建日期', default: '', hide: true }
  ]
}
